import 'package:flutter/material.dart';

///
///
/// 用户身份验证页面：正在进行页面
///

class AuthenticationIngSatePage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: Text(
            '身份验证',
            style: TextStyle(color: Colors.black),
          ),
          centerTitle: true,
          leading: IconButton(
            icon: Icon(Icons.arrow_back),
            onPressed: () => Navigator.pop(context),
            color: Colors.black,
          ),
          backgroundColor: Colors.white,
          actions: <Widget>[
            Padding(
              padding: const EdgeInsets.only(right: 10.0),
              child: Icon(
                Icons.phone,
                color: Colors.black,
              ),
            )
          ],
        ),
        body: Container(
          child: Center(
            child: Padding(
              padding: const EdgeInsets.only(top: 70.0),
              child: Column(
                children: <Widget>[
                  Image.asset(
                    'images/ic_authentication_ing.png',
                    width: 90.0,
                    height: 90.0,
                    color: Colors.amber,
                  ),
                  Padding(
                    padding: const EdgeInsets.only(top: 8.0),
                    child: Text(
                      '身份验证中',
                      style: TextStyle(
                        fontSize: 18.0,
                        fontWeight: FontWeight.bold,
                        color: const Color(0xFF333333),
                      ),
                    ),
                  ),
                  Padding(
                    padding: const EdgeInsets.only(top: 8.0),
                    child: Text(
                      '''我们会在1~3个工作日内帮您完成审核，
                          请耐心等待''',
                      style: TextStyle(
                        color: const Color(0xFF666666),
                        fontSize: 16.0,
                      ),
                    ),
                  ),
                ],
              ),
            ),
          ),
        ),
      ),
    );
  }
}
